package com.project.platformcommon.exception;

import com.project.platformcommon.constants.Constants;

public class PlatformException extends RuntimeException{

    private int statusCode = Constants.RESP_STATUS_INTERNAL_ERROR;

    public PlatformException(int statusCode, String message) {
        super(message);
        this.statusCode = statusCode;
    }
    public PlatformException(String message) {
        super(message);
    }

    public int getStatusCode() {
        return statusCode;
    }
}
